{% extends "base.html" %}


{% block content %}
  <p class="text-right col-xs-10 col-xs-offset-1">
      <a class="btn btn-primary" href="/edit">{{ _("新建博客") }} </a>
  </p>
  <div class="container">
      <ul class="list-unstyled">
        {% for blog in blog_list %}
        <li class="row  col-xs-10 col-xs-offset-1">
            <h2><a href="/detail/{{ str(blog['_id']) }}"> {{ blog['title'] }} </a></h2>
            <p class="lead"> {{ blog['abstract'] }} </p>
            <!-- <div class="row"></div>-->
        </li>
        {% end %}
      </ul>
  </div>
{% end %}
